// 初始化查询条件
export const initFormItemList = (areaData) => {
  return [
    {
      prop: 'supplyNoOrName',
      label: '供应商',
      type: 'input'
    },
    {
      prop: 'skuNo',
      label: 'SKU编码',
      type: 'input'
    },
    {
      prop: 'supplyManageAreaUuid',
      label: '供应商管理区域',
      type: 'select',
      filterable: true,
      clearable: true,
      options: areaData,
    },
    {
      prop: 'manageAreaUuid',
      label: '业务区域',
      type: 'select',
      filterable: true,
      clearable: true,
      options: areaData,
    },
  ]
}
// 列表表头
export const TABLE_COLUMNS = [
  {
    title: '供应商编码',
    key: 'supplyUuid',
  },
  {
    title: '供应商名称',
    key: 'supplyName',
  },
  {
    title: '价格管理周期',
    key: 'priceManagementCycle'
  },
  {
    title: 'SKU编码',
    key: 'skuNo'
  },
  {
    title: '商品名称',
    key: 'productName'
  },
  {
    title: '规格',
    key: 'specDetailStr'
  },
  {
    title: '计量单位',
    key: 'unitName'
  },
  {
    title: '是否敏感',
    key: 'isPriceSensitiveStr'
  },
  {
    title: '业务区域',
    key: 'businessAreaName',
  },
  {
    title: '上次调价日期',
    key: 'adjustPriceTime'
  },
  {
    title: '不调价审核日期',
    key: 'unAdjustPriceTime'
  },
  {
    title: '主营品类编码',
    key: 'supplyMainCategoryNo'
  },
  {
    title: '主营品类名称',
    key: 'supplyMainCategoryName'
  },
  // 1比例/2金额
  {
    title: '供应商管理区域',
    key: 'supplyManageAreaName',
  },
  {
    title: '业务对接人',
    key: 'supplyBusinessContactPerson',
  },
  {
    title: '供应商类型',
    key: 'supplyTypeStr',
  },
]
